Package com.amazon.A3L.messaging
Class Notification.NotificationBuilder
- java.lang.Object
-
- com.amazon.A3L.messaging.Notification.NotificationBuilder
-
- Enclosing class:
- Notification
public static class Notification.NotificationBuilder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description NotificationBuilder()
-
Method Summary
-
-
-
Method Detail
-
setTitle
public Notification.NotificationBuilder setTitle(java.lang.String title)
-
setBody
public Notification.NotificationBuilder setBody(java.lang.String body)
-
setIcon
public Notification.NotificationBuilder setIcon(java.lang.String icon)
-
setColor
public Notification.NotificationBuilder setColor(java.lang.String color)
-
setSound
public Notification.NotificationBuilder setSound(java.lang.String sound)
-
setTag
public Notification.NotificationBuilder setTag(java.lang.String tag)
-
setClickAction
public Notification.NotificationBuilder setClickAction(java.lang.String clickAction)
-
setChannelId
public Notification.NotificationBuilder setChannelId(java.lang.String channelId)
-
setSticky
public Notification.NotificationBuilder setSticky(java.lang.Boolean sticky)
-
setEventTime
public Notification.NotificationBuilder setEventTime(java.lang.Long eventTime)
-
setLocalOnly
public Notification.NotificationBuilder setLocalOnly(java.lang.Boolean localOnly)
-
setNotificationPriority
public Notification.NotificationBuilder setNotificationPriority(java.lang.Integer notificationPriority)
-
setDefaultSound
public Notification.NotificationBuilder setDefaultSound(java.lang.Boolean defaultSound)
-
setVisibility
public Notification.NotificationBuilder setVisibility(java.lang.Integer visibility)
-
setNotificationCount
public Notification.NotificationBuilder setNotificationCount(java.lang.Integer notificationCount)
-
setImage
public Notification.NotificationBuilder setImage(android.net.Uri image)
-
setTitleLocKey
public Notification.NotificationBuilder setTitleLocKey(java.lang.String titleLocKey)
-
setTitleLocArgs
public Notification.NotificationBuilder setTitleLocArgs(java.lang.String[] titleLocArgs)
-
setBodyLocKey
public Notification.NotificationBuilder setBodyLocKey(java.lang.String bodyLocKey)
-
setBodyLocArgs
public Notification.NotificationBuilder setBodyLocArgs(java.lang.String[] bodyLocArgs)
-
createNotification
public Notification createNotification()
-
-